package com.shop.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.oms.Oms_Order_Return_Apply;
import com.shop.service.Oms_Order_Return_Apply_Service;
import com.shop.utils.LayuiUtils;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order_return_apply")
public class Oms_Order_Return_Apply_Controller {

    @Autowired
    private Oms_Order_Return_Apply_Service oms_order_return_apply_service;

    /**
     * 后台的显示所有退货信息
     * @param page
     * @param limit
     * @param ora
     * @return
     */
    @GetMapping("/find_admin_order_return_apply_All")
    public LayuiUtils<Oms_Order_Return_Apply> find_admin_order_return_apply_All
            (Integer page,Integer limit,Oms_Order_Return_Apply ora){

        Page<Oms_Order_Return_Apply>  PAGES = new Page<>(page,limit);

        return oms_order_return_apply_service.find_admin_order_return_apply_All(PAGES,ora);

    }


}
